I am facing some difficulty in developing a DXL script. See attachment.
My requirement is to change the enumeration type of Sub level based on selection on High Level
I had created following enumeration types: HighLevel: Process, System ProcessSub: P1, P2, P3 SystemSub: S1, S2, S3 SubLevel: NA
LiginMathew - Thu Apr 03 19:12:09 EDT 2014 | ||||||||||||||||||||||||||||
Re: Persistent Trigger - DXL Script If I understand you right, you want to restrict the selection inside "Sub Level" depending on the choice of "High Level" per object. This is not possible in DOORS. It makes no sense to modify the enumeration values of an attribute using a trigger because when you delete an enum value from a type, the value will be deleted from all objects using this enum value. This has be discussed before so please use the forums search. You options are basically as followed: - Make a pre modify trigger on Sub Level that will check the value of "High Level" and prevent inconsistent values. However the user will still *see* the other choices on the enumeration. - Let the user use a GUI for selecting the values (inside the GUI you can control the displayed values) - Just validate the module using a layout DXL and give the user a visual feedback that his selection is inconsistent. Regards, Mathias | ||||||||||||||||||||||||||||